package com.tarena.lbs.user.dao.repository;

import com.github.pagehelper.PageInfo;
import com.tarena.lbs.user.pojo.po.UserPO;
import com.tarena.lbs.user.pojo.query.UserQuery;

import java.util.List;

public interface UserRepository {
    UserPO getByPhone(String phone);
    Long countUserByPhone(String phone);
    void save(UserPO poParam);
    UserPO getById(Integer userId);


    PageInfo<UserPO> pageList(UserQuery query);


}